//
//  DataBaseHandle.h
//  XiangMuB
//
//  Created by 向修根 on 16/8/16.
//  Copyright © 2016年 lanou3g. All rights reserved.
//

#import <Foundation/Foundation.h>
@class TopocModel;
@interface DataBaseHandle : NSObject

+ (instancetype)shareDataBaseHandle;
//打开数据库
- (void)openDatabase;
//关闭数据库
- (void)closeDatabase;
//建表
- (void)CreateTable;
//插入
- (void)insterTableWithModel:(TopocModel *)model;
//删除
- (void)deleteWithModle:(TopocModel *)model;
//查询
- (NSMutableArray *)select;



@end
